package org.dromara.system.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.TradingRecords;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 交易记录视图对象 trading_records
 *
 * @author Lion Li
 * @date 2025-07-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TradingRecords.class)
public class TradingRecordsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;


    private Long id;

    private Long userId;

    private Long machineId;

    private String orderNo;

    /**
     * 交易额
     */
    private BigDecimal amount;

    /*
     * 服务费
     * */
    private BigDecimal serviceMoney;

    /*
     * 结算金额
     * */
    private BigDecimal settlesAmountMoney;


    private String dealRate;


    private String merchantCode;

    private String merchantName;

    /**
     * 交易时间
     */
    private Date tradingTime;

    private BigDecimal points;

    /**
     * 备注
     */
    private String remark;

    private String userName;

    private String sn;

    private String brandName;

    private String lineName;

    private Date createTime;

}
